package com.gcstorage.tvdev.bean;

import com.google.gson.annotations.SerializedName;

/**
 * @auth mrz
 * @data 2021/08/10
 * @description 文件分片上传返回值（整合文件分片上传返回与文件整体上传返回结结果）
 */
public class SplitResBean {
    /**
     * 为true时，文件所有分片上传完成
     */
    @SerializedName(value = "attachId")
    private String fileId;
    private boolean full;
    private String fileName;
    /**
     * 已上传数量
     */
    private int fileUpload;
    /**
     * 总分片数量
     */
    private int fileSlices;
    private String fileProgress;
    private Long fileSize;
    private String url;
    private String md5;

    public String getFileId() {
        return fileId;
    }

    public void setFileId(String fileId) {
        this.fileId = fileId;
    }

    public boolean isFull() {
        return full;
    }

    public void setFull(boolean full) {
        this.full = full;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public int getFileUpload() {
        return fileUpload;
    }

    public void setFileUpload(int fileUpload) {
        this.fileUpload = fileUpload;
    }

    public int getFileSlices() {
        return fileSlices;
    }

    public void setFileSlices(int fileSlices) {
        this.fileSlices = fileSlices;
    }

    public String getFileProgress() {
        return fileProgress;
    }

    public void setFileProgress(String fileProgress) {
        this.fileProgress = fileProgress;
    }

    public Long getFileSize() {
        return fileSize;
    }

    public void setFileSize(Long fileSize) {
        this.fileSize = fileSize;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getMd5() {
        return md5;
    }

    public void setMd5(String md5) {
        this.md5 = md5;
    }
}
